import 'package:flutter/material.dart';
import 'package:flutter_qms/widget/bottom_appBar_demo.dart';

void main() => runApp(MyApp());

///// 底部导航栏制作
//class MyApp extends StatelessWidget {
//  @override
//  Widget build(BuildContext context) {
//    return MaterialApp(
//      title: 'Flutter bottom NavigationBar',
//      theme: ThemeData.light(),
//      home: BottomNavigationWidget(),
//    );
//  }
//}

/// 不规则导航栏制作
class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Floating NavigationBar',
      theme: ThemeData(
        primarySwatch: Colors.lightBlue,
      ),
      home: BottomAppBarDemo(),
    );
  }
}
